package com.goldcn.picture.dao;

import com.goldcn.picture.model.PicImages;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PicImagesMapper {
    int deleteByPrimaryKey(Long imgid);

    int insert(PicImages record);

    int insertSelective(PicImages record);

    PicImages selectByPrimaryKey(Long imgid);

    int updateByPrimaryKeySelective(PicImages record);

    int updateByPrimaryKey(PicImages record);

    int deleteByPicId(Long pictureid);

    List<PicImages> selectByPictureid(Long pictureid);
}
